﻿using MiniExcelLibs.Attributes;

namespace CSharpAllDemo.Excel
{

    //学生实体类

    public class Student
    {
        //指定Excel的列表
        [ExcelColumnName("姓名")]
        public string Name { get; set; }
        [ExcelColumnName("年龄")]
        public int Age { get; set; }
        //指定Excel的列宽
        [ExcelColumnWidth(20)]
        [ExcelColumnName("所在班级")]
        public string ClassName { get; set; }
    }
}
